<template>
  <div>
    <!-- 友情链接 -->
    <div class="container-links">
      <div class="links">
        <div class="row">
          <!-- 友情链接 -->
          <div class="col-xs-12 col-md-2 links-left">
            <div class="links-title">友情链接</div>
            <ul class="links-left-li">
              <li><a href="javascript:;">迈思工作室</a></li>
              <li><a href="javascript:;">破晓团队</a></li>
              <li><a href="javascript:;">丁牛科技</a></li>
            </ul>
          </div>
          <!-- 联系我们 -->
          <div class="col-md-7 links-center">
            <div class="links-title">联系我们</div>
            <div class="space-between mb">
              <span>联系电话:0431-83444444</span>
              <span>邮箱:yxu@1qit.com</span>
            </div>
            <!-- 移动 -->
            <div class="border-bg">
              <van-collapse v-model="zongbu">
                <van-collapse-item title="集团总部地址" name="1"
                  >集团总部地址</van-collapse-item
                >
              </van-collapse>
            </div>
            <div class="border-bg">
              <van-collapse v-model="fenbu">
                <van-collapse-item title="分公司地址" name="1"
                  ><div>
                    吉林:吉林省长春市南关区长春国际商务中心A座二区1503室
                  </div>
                  <div>辽宁:辽宁省沈阳市1503室</div>
                  <div>海南:海南1503室</div>
                </van-collapse-item>
              </van-collapse>
            </div>
            <!-- pc -->
            <div class="mb">
              总部地址:吉林省长春市南关区长春国际商务中心A座二区1503室
            </div>
            <div class="mb">沈阳地址:辽宁省沈阳市1503室</div>
            <div class="hidden-mobile">海南地址:海南1503室</div>
          </div>
          <!-- 关注我们 -->
          <div class="col-md-2 links-right">
            <div class="links-title">关注我们</div>
            <div class="weixin-mobile">
              <img src="../assets/image/weixin.png" alt="" />
            </div>
            <div class="erweima">
              <img src="../assets/image/erweima.png" alt="" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // 总部
      zongbu: [],
      // 分部
      fenbu: [],
    };
  },
};
</script>

<style lang="less" scoped>
img {
  display: block;
  width: 100%;
}
// pc端(大于768)
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
  // 友情链接
  .container-links {
    background: #f7f7f7;
    padding-bottom: 50px;
    padding-top: 20px;
    .links {
      background: #f7f7f7;
      margin: 0 auto;
      width: 1200px;
    }
    .links-title {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 30px;
    }
    .links-left {
      border-right: 1px solid #ccc;
      li {
        margin-bottom: 20px;
        a {
          color: #888888;
        }
      }
    }
    .links-center {
      padding-left: 60px;
      padding-right: 40px;

      .space-between {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .mb {
        margin-bottom: 10px;
      }
    }
    .links-right {
      .erweima {
        width: 120px;
      }
    }
    .border-bg {
      display: none;
    }
    .weixin-mobile {
      display: none;
    }
  }
}
// 移动端
@media (max-width: 768px) {
  // 友情链接
  .container-links {
    background: #f5f8fd;
    .links-title {
      font-weight: 600;
    }
    .links-left-li {
      border-bottom: 1px solid #dedede;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 0;
      margin-bottom: 30px;
      > li > a {
        color: #000;
      }
    }
    .links-center {
      .space-between {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 1px solid #dedede;
        padding: 10px;
        margin: 10px 0;
      }
      .border-bg {
        border: 1px solid #dedede;
        margin-bottom: 10px;
      }
    }

    .mb,
    .hidden-mobile {
      display: none;
    }

    .erweima {
      display: none;
    }
    .weixin-mobile {
      width: 20px;
      margin-left: 10px;
    }
    .links-right {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
  }
}
</style>
